package com.liusu.spider.request;

import java.util.Arrays;

public interface HTML {


    public static final String TITLE = "title";
    public static final String DIV = "div";
    public static final String A = "a";
    public static final String SPAN = "span";
    public static final String BUTTON = "button";
    public static final String I = "i";
    default void print(Object content){
        System.out.println(content);
    }

    default void print(String content){
        if(content.equals("")){
            System.out.println("''");
            return;
        }
        System.out.println(content);
    }
    default void print(Object[] array){

        System.out.println(Arrays.toString(array));
    }
    default void print(char[] array){

        System.out.println(Arrays.toString(array));
    }
    default void print(byte[] array){

        System.out.println(Arrays.toString(array));
    }
    default void print(short[] array){

        System.out.println(Arrays.toString(array));
    }
    default void print(int[] array){

        System.out.println(Arrays.toString(array));
    }
    default void print(long[] array){

        System.out.println(Arrays.toString(array));
    }
    default void print(boolean[] array){

        System.out.println(Arrays.toString(array));
    }

}
